package com.cskaoyan.bean;

/**
 * 创建日期: 2022/11/23 10:14
 *
 * @author ciggar
 */
public class Student {

    Integer id;
    String name;
    String clazz;

    public Student() {
        System.out.println("对象工厂调用到了...");
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", clazz='" + clazz + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }
}
